package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysWorkLogDiary;

/**
 * 运行记事Mapper接口
 * 
 * @author ruoyi
 * @date 2023-02-02
 */
public interface SysWorkLogDiaryMapper 
{
    /**
     * 查询运行记事
     * 
     * @param diaryId 运行记事ID
     * @return 运行记事
     */
    public SysWorkLogDiary selectSysWorkLogDiaryById(Long diaryId);

    /**
     * 查询运行记事列表
     * 
     * @param sysWorkLogDiary 运行记事
     * @return 运行记事集合
     */
    public List<SysWorkLogDiary> selectSysWorkLogDiaryList(SysWorkLogDiary sysWorkLogDiary);

    /**
     * 新增运行记事
     * 
     * @param sysWorkLogDiary 运行记事
     * @return 结果
     */
    public int insertSysWorkLogDiary(SysWorkLogDiary sysWorkLogDiary);

    /**
     * 修改运行记事
     * 
     * @param sysWorkLogDiary 运行记事
     * @return 结果
     */
    public int updateSysWorkLogDiary(SysWorkLogDiary sysWorkLogDiary);

    /**
     * 删除运行记事
     * 
     * @param diaryId 运行记事ID
     * @return 结果
     */
    public int deleteSysWorkLogDiaryById(Long diaryId);

    /**
     * 批量删除运行记事
     * 
     * @param diaryIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysWorkLogDiaryByIds(Long[] diaryIds);
}
